﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NextCMS.Models
{
    /// <summary>
    /// Summary description for SiteSettingsModel
    /// </summary>
    public class SiteSettingsModel
    {
        public int Id { get; set; }
        public int SiteId { get; set; }
        public string Key { get; set; }
        public string Value { get; set; }
    }
    public interface ISiteSettings : IDisposable
    {
        IEnumerable<SiteSettingsModel> GetAll();
        string GetByKey(string Key);
        string GetByKey(string Key, int SiteId);
        int Save(SiteSettingsModel page);
        void Delete(int id);
        void Edit(string Key, string Value, int SiteId);
    }
}